<%@ page import="java.sql.Connection" %>
<%@ page import="java.sql.Statement" %>
<%@ page import="java.sql.ResultSet" %>
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <title>主页</title>
    <style>

    </style>
</head>

<body>
<%
    if (session.getAttribute("LoginedUserName") == null){
        response.sendRedirect("loginForm.jsp");
        return;
    }
%>
<%@include file="header.jsp" %>
<a href="logout.jsp">注销</a><br>
<%=(request.getAttribute("msg")==null?"":"<div id=msg style="+"color:red;"+" >"+request.getAttribute("msg")+"</div>")%>
<a href="addinfomation.jsp">添加档案信息</a>
<%@include file="footer.jsp" %>
</body>
</html>
